Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluidframework/datastore-definitions

Package Overview
Dependencies
Maintainers
3
Versions
585
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/datastore-definitions

Fluid data store definitions

  • 0.38.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.3K
decreased by-23.27%
Maintainers
3
Weekly downloads
 
Created
Source

@fluidframework/datastore-definitions

Interface IFluidDataStoreRuntime specifies the data store developer API.

Capabilities exposed on IFluidDataStoreRuntime

TODO: The full set of functionality is under review

  • DDS creation and management APIs
  • Container info and states (connection state, documentId, quorum, audience, etc.)
  • Loader
  • Op/Signal submission
  • Snapshotting
  • DeltaManager
  • Blob Management API.

Signals

Signals provide a transient data channel for data (any serializable payload) that doesn't need to be persisted in the op stream. Use signals where possible to avoid storing unnecessary ops, e.g. to transmit presence status during a collaborative session.

Signals are not persisted, ordered, or guaranteed. If a client is behind, the op state can be behind the signal state. For this reason people usually stick the currentSeq on the signal, so other clients can wait to process if they are behind.

You can send a signal via the container or data store runtime. The container will emit the signal event on all signals, but a data store will emit the signal event only on signals emitted on that data store runtime.

FAQs

Package last updated on 23 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc